<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@page import="com.boxin.ims.modules.wechat.score.entity.ExchangeRecord"%>
<%@page import="com.boxin.ims.modules.momarketing.common.QRCodeUtils"%>
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>积分兑换详情</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
	<style type="text/css">
	.prizeImg{width:400px;margin:0 auto; display: block;position: relative;z-index:99}
	</style>
	<c:if test="${flag eq '1' }">
	<style type="text/css">
	.body {
    border-color: #b80752;
}
	</style>
</c:if>
</head>
<body>
<div class="body">
  <div class="backg" style="text-align:center;padding-top:20px;min-height: 460px;">

   				
   				 <c:if test="${uid eq '34' }">
					 	<div class="c2">
						</div>
							<p style="font-size:18px;color:red"><b>${config.notice }</b></p>
				</c:if>
   				
   				
   				<h5>${message }</h5>
   				
   				<%
						ExchangeRecord recorder = (ExchangeRecord) request.getAttribute("recorder");
					    if(recorder != null){
							Long qrcodeId = recorder.getQrCode().getId();
					%>
					<img alt="" src="<%=QRCodeUtils.getQRCodePNGURL(qrcodeId)%>" class="prizeImg" style="width:100%;margin-top:20px;" >
					<%} %>
					
			<div align="center">
			  请您在${scoreExchange.user.name }兑换${name}    <br/>
			</div>	
</div>
			<c:if test="${uid eq '52' }">
			  <br/>店内地址：${scoreExchange.user.comAddress}
			  <br/>电话：${scoreExchange.user.mobile } 
			</c:if>	
     <c:if test="${uid ne '34' }">
		 <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp;  --><br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
  </div>
</body>
</html>
